package com.info33.platform.business.app.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.info33.platform.business.app.dto.AppProtocolDTO;
import com.info33.platform.business.app.entity.AppProtocol;
import com.info33.platform.common.mvc.vo.Result;
import com.info33.platform.system.vo.SysUserVO;

/**
 * @author admin
 */
public interface AppProtocolService extends IService<AppProtocol> {

    /**
     * 编辑
     *
     * @param appProtocol-
     * @return -
     */
    Result<Object> pcEdit(AppProtocol appProtocol);

    /**
     * 删除
     *
     * @param id-
     * @return -
     */
    Result<Object> pcRemove(Long id);

    /**
     * pc - 分页
     *
     * @param objectPage  分页
     * @param dto         入参
     * @param currentUser 当前用户
     * @return entity
     */
    IPage<AppProtocol> pcPage(Page<AppProtocol> objectPage, AppProtocolDTO dto, SysUserVO currentUser);
}